package com.lance.answer.gui.answer;

import com.lance.answer.dto.Item;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * @author yixun
 * @version 2.0.0
 * @description
 * @date 2021-05-24 23:27
 * @since 2.0.0
 */
public class AnswerObject implements Serializable {

    private String questionType;
    private String answerType;
    private String questionCode;
    private String questionTitle;
    private List<Item> items;
  //  private List<String> answers;
    private LinkedList<String> answers;

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public String getQuestionCode() {
        return questionCode;
    }

    public void setQuestionCode(String questionCode) {
        this.questionCode = questionCode;
    }

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public LinkedList<String> getAnswers() {
        return answers;
    }

//    public void setAnswers(List<String> answers) {
//        this.answers = answers;
//    }
//    public void setAnswers(List<String> answers) {
//        this.answers = answers;
//    }


    public void setAnswers(LinkedList<String> answers) {
        this.answers = answers;
    }

    public String getAnswerType() {
        return answerType;
    }

    public void setAnswerType(String answerType) {
        this.answerType = answerType;
    }

    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }
}
